package com.hgh.nettydemo.javanio;


import com.hgh.nettydemo.javanio.javanioclient.JavaNioClient;
import com.hgh.nettydemo.javanio.javanioserver.JavaNioServer;

/**
 * @author: huguanghui
 * Created by huguanghui on 2018/6/18.
 * @Description:
 */
public class JavaNioTest {

    public static void main(String[] args) throws Exception {

        JavaNioServer javaNioServer = new JavaNioServer();
        javaNioServer.createJavaNioServer();

        JavaNioClient javaNioClient = new JavaNioClient();
        javaNioClient.createJavaNioClient();
        javaNioClient.sendMsg("hello world");
    }
}
